home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / tcp_ip / wnos / wn941101 / ftp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-10  |  419 b   |  19 lines

  1. #ifndef _FTP_H
  2. #define _FTP_H
  3.  
  4. /* Definitions common to both FTP servers and clients */
  5.  
  6. #define    BLKSIZE    2048    /* Chunk size for file I/O */
  7.  
  8. #define    ASCII_TYPE        0
  9. #define    IMAGE_TYPE        1
  10. #define    LOGICAL_TYPE    2
  11.  
  12. /* In ftpsubr.c: */
  13. long sendfile __ARGS((FILE *fp,int s,int mode,int hash));
  14. long recvfile __ARGS((FILE *fp,int s,int mode,int hash));
  15. int isbinary __ARGS((FILE *fp));
  16.  
  17. #endif    /* _FTP_H */
  18.  
  19.